Remove extraneous (and one non-such) inclusions of unistd.h.
authorrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Thu, 8 Jan 2004 03:15:01 +0000 (03:15 +0000)
committerrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Thu, 8 Jan 2004 03:15:01 +0000 (03:15 +0000)
gpsbabel/coldsync/pdb.c
gpsbabel/csv_util.c
gpsbabel/delgpl.c
gpsbabel/jeeps/gpsapp.c
gpsbabel/jeeps/gpsread.c
gpsbabel/jeeps/gpssend.c
gpsbabel/magproto.c

index 1d1b85980c5955fc8636cc8508a7bd79a8a16272..5d3f4922046d05ad320eeb925937caa00fb7c201 100644 (file)
@@ -6,7 +6,7 @@
  *     You may distribute this file under the terms of the Artistic
  *     License, as specified in the README file.
  *
- * $Id: pdb.c,v 1.2 2002-08-24 03:00:59 robertl Exp $
+ * $Id: pdb.c,v 1.3 2004-01-08 03:15:00 robertl Exp $
  */
 /* XXX - The way zero-length records are handled is a bit of a kludge. They
  * shouldn't normally exist, with the exception of expunged records. But,
@@ -26,7 +26,6 @@
 #include <stdio.h>
 #include <fcntl.h>             /* For open() */
 #include <sys/types.h>
-#include <unistd.h>
 #include <stdlib.h>
 #include <time.h>
 
index c5786dfaf5cc377f0ab9722372623172757a6ec3..f50717445fbbedc4e989f5b95139b3ba5feb2037 100644 (file)
@@ -20,7 +20,6 @@
  */
 
 #include <ctype.h>
-#include <unistd.h>
 #include "defs.h"
 #include "csv_util.h"
 
index 80077f74f0926dd45f5dd1bb51d215b0c9c9d8c7..e6d5999ba9b8d202fcb3b322907ef64e111f1dd7 100644 (file)
 #include <ctype.h>
 #include <time.h>
 #include <errno.h>
-#include <unistd.h>
 
 #include "defs.h"
-// #include "magellan.h"
 
 #define MYNAME "GPL"
 
index 805ca0b09444390b12bb02fe88d2ac82e9ad658f..6fff831577911bb894eb30d62c39cef6c86181c7 100644 (file)
@@ -26,7 +26,6 @@
 #include <string.h>
 #include <time.h>
 #include <stdlib.h>
-#include <unistd.h>
 
 
 static int32    GPS_A000(const char *port);
index 04e87c82629c4c4d7cd890f761a13d211b7cbc59..a2b82dbb4c35845720d6b78837e9491e54daa80c 100644 (file)
@@ -26,7 +26,6 @@
 #include <stdio.h>
 #include <time.h>
 #include <errno.h>
-#include <unistd.h>
 
 
 /* @func GPS_Time_Now ***********************************************
index 59370b5c158b2496a122b6cc9da0f18fd5486358..bf7ad86f0c10208dbf3c44860f80ce61ab16fb36 100644 (file)
@@ -23,7 +23,6 @@
 ********************************************************************/
 #include "gps.h"
 #include <stdio.h>
-#include <unistd.h>
 #include <errno.h>
 
 
index b6d4288c87ee9595114596c9c822db615452974a..d07e936d863d805e890798bf53ed38235cd6da76 100644 (file)
@@ -22,7 +22,6 @@
 #include <ctype.h>
 #include <time.h>
 #include <errno.h>
-#include <unistd.h>
 
 #include "defs.h"
 #include "magellan.h"
@@ -611,6 +610,7 @@ termdeinit()
 #else
 
 #include <termios.h>
+#include <unistd.h>
 
 speed_t 
 mkspeed(unsigned br)